package com.netx.data;


class Repository {

	public final DatabaseDriver driver;
	public final String url;
	public final String username;
	public final String password;
	public final int maxActive;
	public final int maxIdle;
	public final int maxWait;
	public final int removeAbandonedTimeout;
	
	Repository(DatabaseDriver driver, SymbolRepository sRepository) {
		this.driver = driver;
		this.url = sRepository.pUrl;
		this.username = sRepository.pUsername;
		this.password = sRepository.pPassword;
		this.maxActive = sRepository.aMaxActive;
		this.maxIdle = sRepository.aMaxIdle;
		this.maxWait = sRepository.aMaxWait;
		this.removeAbandonedTimeout = sRepository.aRemoveAbandonedTimeout;
	}

}
